package com.cloud.dataway;

import net.hasor.spring.boot.EnableHasor;
import net.hasor.spring.boot.EnableHasorWeb;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;

@PropertySource(
        value = {"classpath:druid-datasource-master.properties",
                "classpath:druid-datasource-slave.properties"})
@EnableHasor()
@EnableHasorWeb()
@SpringBootApplication()
public class ApplicationDataway8081 {

    public static void main(String[] args) {
        SpringApplication.run(ApplicationDataway8081.class);
    }
}
